<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tuan_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-tuan_image" class="form-control" size="50" name="row[tuan_image]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-tuan_image" class="btn btn-danger faupload" data-input-id="c-tuan_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-tuan_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-tuan_image" class="btn btn-primary fachoose" data-input-id="c-tuan_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-tuan_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-tuan_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fenlei_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fenlei_id" data-source="csmipr/fenlei/index" class="form-control selectpage" name="row[fenlei_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhucehao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhucehao" class="form-control" name="row[zhucehao]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhuangtai_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhuangtai_id" data-source="csmipr/zhuangtai/index" class="form-control selectpage" name="row[zhuangtai_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isgongyu')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-isgongyu" class="form-control selectpicker" name="row[isgongyu]">
                {foreach name="isgongyuList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leixing')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leixing" class="form-control" name="row[leixing]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Youxianquan_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-youxianquan_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[youxianquan_date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Guojizhuce_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-guojizhuce_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[guojizhuce_date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Houqizhiding_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-houqizhiding_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[houqizhiding_date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leisiqun')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leisiqun" class="form-control" name="row[leisiqun]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xingshi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xingshi" class="form-control" name="row[xingshi]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shenqingren')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shenqingren" class="form-control" name="row[shenqingren]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('En_shenqingren')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_shenqingren" class="form-control" name="row[en_shenqingren]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shenqingrendizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shenqingrendizhi" class="form-control" name="row[shenqingrendizhi]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('En_shenqingrendizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_shenqingrendizhi" class="form-control" name="row[en_shenqingrendizhi]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dailijigou')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dailijigou" class="form-control" name="row[dailijigou]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shangpufuwu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shangpufuwu" class="form-control" name="row[shangpufuwu]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chushengonggaoqihao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chushengonggaoqihao" class="form-control" name="row[chushengonggaoqihao]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chushengonggao_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chushengonggao_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[chushengonggao_date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhidingyanse')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhidingyanse" class="form-control" name="row[zhidingyanse]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhucegonggaoqihao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhucegonggaoqihao" class="form-control" name="row[zhucegonggaoqihao]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhucegonggao_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhucegonggao_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[zhucegonggao_date]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hastuan')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-hastuan" class="form-control selectpicker" name="row[hastuan]">
                {foreach name="hastuanList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Liuchegnzhuagntai_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-liuchegnzhuagntai_id" data-source="csmipr/liuchegnzhuagntai/index" class="form-control selectpage" name="row[liuchegnzhuagntai_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" class="form-control " rows="5" name="row[desc]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('From_source')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-from_source" class="form-control" name="row[from_source]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('From_uuid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-from_uuid" class="form-control" name="row[from_uuid]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="normal"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>